/**
 * Created by sicongdu on 17-11-3.
 */

const express = require('express');

const app = express();

var getData = require('./welcome');

app.use(function(req, res, next){
    getData(req,res);
});

const port = 8000;
app.listen(port);

console.log(`Server listening at http://127.0.0.1:${port}`);